package ru.maxmatveev.beanmapper;

/**
 * @author Max Matveev
 *         Date: Jan 25, 2009
 *         Time: 12:00:28 PM
 */
public interface SimplePropertyMapper {
    /**
     * Forward mapping.
     * @param source source
     * @return result
     */
    @Mapper
    SimplePropertyDestination mapForward(SimplePropertySource source);

    /**
     * Backward mapping.
     * @param source source
     * @return result
     */
    @Mapper
    SimplePropertySource mapBackwards(SimplePropertyDestination source);

    @Mapper(forceClone = true)
    SimplePropertyDestination clone(SimplePropertyDestination object);
}
